//
//  LadingBillMainModel.h
//  ReceiptDelivery
//
//  Created by 吕晶 on 2020/7/1.
//  Copyright © 2020 吕晶. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "AddressMainModel.h"

NS_ASSUME_NONNULL_BEGIN

typedef NS_ENUM(NSInteger,LadingBillStatusMode) {
    LadingBillStatusModeNew        =   1,//新建
    LadingBillStatusModeSure       =   2,//确认
    LadingBillStatusModeDiaoDu     =   3,//调度
    LadingBillStatusModeChuFa      =   4,//出发
    LadingBillStatusModeDaoDa      =   5,//到达
    LadingBillStatusModeZhuangChe  =   6,//装车
    LadingBillStatusModeBoHui      =   7,//驳回
    LadingBillStatusModeFinish     =   9,//完成
    LadingBillStatusModeZuoFei     =   10//作废
};

@interface LadingBillMainModel : NSObject

@property (nonatomic, assign) LadingBillStatusMode status;
@property (nonatomic, copy) NSString *status_name;//状态名称
@property (nonatomic, copy) NSString *dp_id;//提货单id
@property (nonatomic, copy) NSString *serial_num;//提单货号
@property (nonatomic, copy) NSString *constract_sn;//合同编号
@property (nonatomic, copy) NSString *order_time;//下单时间
@property (nonatomic, copy) NSString *name;//承运方
@property (nonatomic, copy) NSString *start_city;//出发地
@property (nonatomic, copy) NSString *end_city;//目的地
@property (nonatomic, strong) AddressMainModel *pickup_address;//提货地址
@property (nonatomic, strong) AddressMainModel *collect_address;//收货地址
@property (nonatomic, copy) NSString *aorder;//关联订单
@property (nonatomic, copy) NSString *ynum;//原订单
@property (nonatomic, copy) NSString *startTime;//提货开始时间(详情用)
@property (nonatomic, copy) NSString *endTime;//提货结束时间(详情用)
@property (nonatomic, copy) NSString *arrivalTime;//到达时间(详情用)
@property (nonatomic, copy) NSString *delivery;//服务方式
@property (nonatomic, copy) NSString *tsTime;//运输时效
@property (nonatomic, copy) NSString *transport;//运输方式
@property (nonatomic, copy) NSString *needCar;//车辆要求
@property (nonatomic, copy) NSString *settleSty;//结算方式
@property (nonatomic, copy) NSString *allWeight;//总重量
@property (nonatomic, copy) NSString *allVolume;//总体积
@property (nonatomic, copy) NSString *operationTime;//操作时间
@property (nonatomic, copy) NSString *reject_remarks;//驳回原因
@property (nonatomic, copy) NSString *price;//保险价值
@property (nonatomic, copy) NSString *fileInfo;//随附文件
@property (nonatomic, copy) NSString *remarks;//备注

@property (nonatomic, copy) NSString *start_time;//提单出发时间(列表用)
@property (nonatomic, copy) NSString *end_time;//到达时间(列表用)
@property (nonatomic, assign) int dp_type;//发布类型 1=3pl发布 2=收发货端发布

@end

NS_ASSUME_NONNULL_END
